﻿<Window x:Class="ApplicationHost.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="ApplicationHost" Height="300" Width="300" Loaded="Window_Loaded">
    <Grid Margin="3">
		<Grid.RowDefinitions>
			<RowDefinition></RowDefinition>
			<RowDefinition Height="2*"></RowDefinition>
			<RowDefinition Height="2*"></RowDefinition>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition></ColumnDefinition>
			<ColumnDefinition Width="Auto"></ColumnDefinition>
		</Grid.ColumnDefinitions>
		<ListBox Name="lstAddIns" Margin="3" SelectionChanged="lstAddIns_SelectionChanged">
			<ListBox.ItemTemplate>
				<DataTemplate>
					<StackPanel Margin="3,3,0,8" HorizontalAlignment="Stretch">
						<TextBlock Text="{Binding Path=Name}" FontWeight="Bold" ></TextBlock>
						<TextBlock Text="{Binding Path=Publisher}" ></TextBlock>
						<TextBlock Text="{Binding Path=Description}" FontSize="10" FontStyle="Italic"></TextBlock>						
					</StackPanel>
				</DataTemplate>
			</ListBox.ItemTemplate>
		</ListBox>
		<Button Grid.Column="1" Name="cmdProcessImage" Click="cmdProcessImage_Click" Margin="0,3,3,3" Padding="3" VerticalAlignment="Top" IsEnabled="False">Go</Button>
        <Image Grid.Row="1" Grid.ColumnSpan="2" Name="img" Source="Forest.jpg" Margin="3" />

		<Border BorderBrush="Red" BorderThickness="2" Name="pnlAddIn" Margin="3" Grid.Row="2" Grid.ColumnSpan="2" />
		
    </Grid>
</Window>
